﻿<!DOCTYPE html>
<!--[if IE 8]> <html lang="zh-CN" class="ie8"> <![endif]-->
<html lang="zh-CN">

	<head>
		<meta charset="utf-8" />
		<title>找回密码 - {$web_name}</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="Keywords" content="找回密码" />
		<meta name="Description" content="找回密码" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
		<tc_include file="Public:head" />
		<link type="text/css" rel="stylesheet" href="__TMPL__Public/css/login.css">
		<link type="text/css" rel="stylesheet" href="__TMPL__Public/css/forget_pwd.css">
	</head>

	<body>
		<div class="header login-header w990">
			<div class="logo-info">
				<a href="/" class="logo">
					<img src="{:sp_getad('logo-240*90')}" style="height: 70px;" />
				</a>
				<span class="findpw">找回密码</span>
			</div>
		</div>
		<div class="forget-content w990">
			<div class="forget-form">
				<div class="forget-con">
					<div class="forget-wrap">
						<div class="safe-con">
							<div class="stepflex">
								<php>
									$step=$_GET['step']?$_GET['step']:1;

								</php>
								<dl class="first  <gt name='step' value='1'>done</gt> <eq name='step' value='1'>doing</eq>">
									<dt class="s-num">1</dt>
									<dd class="s-text">
										账户名
										<s></s>
										<b></b>
									</dd>
								</dl>
								<dl class="normal <gt name='step' value='2'>done</gt> <eq name='step' value='2'>doing</eq>">
									<dt class="s-num">2</dt>
									<dd class="s-text">
										验证身份
										<s></s>
										<b></b>
									</dd>
								</dl>
								<dl class="normal <gt name='step' value='3'>done</gt> <eq name='step' value='3'>doing</eq>">
									<dt class="s-num">3</dt>
									<dd class="s-text">
										设置新密码
										<s></s>
										<b></b>
									</dd>
								</dl>
								<dl class="last <gt name='step' value='4'>done</gt> <eq name='step' value='4'>doing</eq>">
									<dt class="s-num">4</dt>
									<dd class="s-text">
										完成
										<s></s>
										<b></b>
									</dd>
								</dl>
							</div>
							<eq name="step" value="1">
								<form id="AccountModel" class="form-horizontal" name="step1" method="post" novalidate="novalidate">
									<!-- 账户名 -->
									<div class="form-group form-group-spe">
										<label for="accountmodel-username" class="input-left">
										<span class="spark">*</span>
										<span>账户名：</span>
										</label>
										<div class="form-control-box">
											<input type="text" id="accountmodel-username" class="form-control " name="AccountModel[username]" placeholder="已验证手机">
										</div>

										<div class="invalid"></div>
									</div>
									<!-- 验证码 -->
									<div class="form-group form-group-spe">
										<label for="accountmodel-captcha" class="input-left">
										<span class="spark">*</span>
										<span>验证码：</span>
										</label>
										<div class="form-control-box">

											<input type="text" id="accountmodel-captcha" class="input-small" name="AccountModel[captcha]" placeholder="请输入验证码">
											<label class="captcha"><img alt="点击切换" src="{:U('verify')}" id="vcode" onclick="this.src='{:U("verify")}?d='+Math.random();"></label>

										</div>

										<div class="invalid"></div>
									</div>
									<div class="forget-btn">
										<div class="form-group form-group-spe">
											<label for="" class="input-left"></label>
											<div class="form-control-box">
												<a href="javascript:void(0);" class="btn-img btn-entry bg-color step1">下一步</a>
											</div>
											<div class="invalid"></div>
										</div>
									</div>

								</form>
							</eq>
							<eq name="step" value="2">
								<form id="AccountModel" class="form-horizontal" name="step2" method="post" novalidate="novalidate">

									<div class="form-group form-group-spe">
										<label class="input-left">
										<span>验证方式：</span>
									</label>
										<div class="form-control-box">
											<span class="select">
											<select id="sel_type" aria-invalid="false" class="valid">
												<option value="mobile">已验证的手机</option>
											</select>
										</span>
										</div>
									</div>
									<div class="mobile">
										<div class="form-group form-group-spe">
											<label class="input-left">
										<span>已验证手机：</span>
									</label>
											<span class="input-none"><php>echo session('forget_user');</php></span>
										</div>
										<div class="form-group form-group-spe">
											<label for="accountmodel-sms_captcha" class="input-left">
											<span class="spark">*</span>
											<span>手机验证码：</span>
										</label>
											<div class="form-control-box">

												<input type="text" id="accountmodel-sms_captcha" class="input-small">

												<a href="javascript:void(0);" class="phonecode" id="get_phonecode">获取手机验证码</a>

											</div>

											<div class="invalid"></div>
										</div>
									</div>
									<div class="forget-btn">
										<a href="javascript:void(0);" class="btn-img btn-entry bg-color step2">下一步</a>
										<div style="display: none;">
											<input type="submit" id="btn_submit" name="btn_submit">
										</div>
									</div>

								</form>
							</eq>
							<eq name="step" value="3">
								<form id="AccountModel" class="form-horizontal" name="step3" method="post" novalidate="novalidate" style="width: 800px;margin-left: 160px;">

									<div class="form-group form-group-spe">
										<label for="accountmodel-password" class="input-left">
									<span class="spark">*</span>
									<span>新密码：</span>
									</label>
										<div class="form-control-box">
											<input type="password" id="pwdInput" class="form-control" name="AccountModel[password]" value="" autocomplete="off" aria-required="true" aria-invalid="true">
											<i class="fa pwd-toggle fa-eye-slash" data-id="pwdInput"></i>
										</div>
										<span id="pwdInput-error" data-error-id="pwdInput-error" class="form-control-error" style="display: none;"><i class="fa fa-warning"></i>密码长度为6-20个字符,建议由字母、数字和符号两种以上。</span>
									</div>
									<div class="forget-btn">
										<a href="javascript:void(0);" class="btn-img btn-entry bg-color step3">下一步</a>

									</div>

								</form>
							</eq>
							<eq name="step" value="4">
								<div class="find-box-end">
									<p class="success">
										<i></i> 新密码设置成功！
									</p>
									<p class="tips">

										<a class="color m-l-10" href="{:U('user/login')}" title="立即购物">立即登录&gt;&gt;</a>

									</p>
								</div>
							</eq>
						</div>
					</div>
				</div>
			</div>
		</div>

		<tc_include file="Public:footer" />
		<script type="text/javascript" src="__TMPL__Home/User/js/forget_pwd.js"></script>
		</div>
	</body>

</html>